package com.basics.car.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.basics.framework.web.domain.BaseEntity;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 车险信息
 * </p>
 *
 * @author WangWei
 * @since 2025-05-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dm_car_insurance")
@ApiModel(value="DmCarInsurance对象", description="车险信息")
public class DmCarInsurance extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "车辆ID")
    private Long carId;

    @ApiModelProperty(value = "商业保单编号")
    private String commercialInsuranceNo;

    @ApiModelProperty(value = "商业保单图片")
    private String commercialInsuranceImg;

    @ApiModelProperty(value = "第三方责任险")
    private String thirdInsurance;

    @ApiModelProperty(value = "生效时间")
    private LocalDateTime commercialEffectTime;

    @ApiModelProperty(value = "失效日期")
    private LocalDateTime commercialInvalidTime;

    @ApiModelProperty(value = "交强险保单")
    private String compulsoryInsuranceImg;

    @ApiModelProperty(value = "交强险保单号")
    private String compulsoryInsuranceNo;

    @ApiModelProperty(value = "交强险生效日期")
    private LocalDateTime compulsoryEffectTime;

    @ApiModelProperty(value = "交强险失效日期")
    private LocalDateTime compulsoryInvalidTime;

    @ApiModelProperty(value = "保险公司")
    private String insuranceCompany;


}
